package org.goyo.main.services.system;

import java.util.List;

import org.goyo.common.exception.DBException;
import org.goyo.common.exception.ServiceException;
import org.goyo.common.utils.Pager;
import org.goyo.main.domain.entity.system.SysRole;
import org.goyo.main.domain.entity.system.SysUser;
import org.goyo.main.domain.excelBean.SysUserExcel;

public interface ISysUserService {
	
	public SysUser saveOrUpdateInfo(SysUser info,List<SysRole> sysRoles,String groupIds,String menuIds) throws DBException,ServiceException;
	
	public void delByUuids(Object[] uuids) throws DBException,ServiceException;
	
	public SysUser findByUuid(String uuid) throws DBException,ServiceException;
	
	public Pager<SysUser> findByCondition(String where,Pager pager) throws DBException,ServiceException; 
	
	public SysUser findByUserName(String userName) throws DBException,ServiceException;
	
    public void saveOrUpdateSysUserList(List<SysUserExcel> list) throws DBException, ServiceException;
}
